package com.zeng.controller;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Controller;

/**
 * @author zeng
 * @data 2021/06/08 18:57
 */
@Configuration

public class UserController {
    @Bean
    public String Hello(){
        System.out.println("这里是controller,hello world");
        return "Hello,World";
    }
}
